package com.demo.springBoot2.mapper;

import com.demo.springBoot2.entity.CampusRingtone;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 校园铃声 Mapper 接口
 * </p>
 *
 * @author wuHua·pl
 * @since 2024-04-11
 */
@Mapper
public interface CampusRingtoneMapper extends BaseMapper<CampusRingtone> {
    @Select("select * from campus_ringtone where ring_time = #{ringTime} and period = #{period}")
    CampusRingtone selectRingtoneByRingPeriod(CampusRingtone campusRingtone);

}
